/*
 * 可复用的公有布局
 */
body,
html {
  width: 100%;
  height: 100%;
}

body {
  /* 弹性盒子布局 */
  /* display: flex; */
  /* 切换主轴方向 --垂直*/
  flex-direction: column;
}

.cotainer {
  /* 1 控制位置的 position  display  margin-left margin-right  */
  margin-left: 5%;
  width: 90%;
  /* 2 控制大小的  width height  */
  /* 3 字体  text-align  font-size */
  /* 4 颜色  */
}

input {
  width: 100%;
  height: 50px;
  border-radius: 25px;
  margin-bottom: 20px;
  text-indent: 20px;
  /* 字符间隔 */
  letter-spacing: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* 输入框提示 */
input::placeholder {
  color: #ccc;
}

/* 登录&注册提示框样式 */
.total {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background-color: rgba(253, 4, 4, 0.4);
  border-radius: 20px;
  color: #fff;
}

.total-icon {
  font-size: 24px;
  margin-bottom: 16px;
}

/* 公用的底部导航栏 */
.nav-tabs {
  justify-content: space-around;
  align-items: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 76px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
  background-color: #fff;
}

.tab-item {
  flex-direction: column;
  align-items: center;
  padding: 10px;
  color: rgba(138, 138, 138, 100);
}

.tab-ite.active {
  color: rgba(66, 148, 255, 100);
}

/* 顶部导航 */
.top-nav {
  position: fixed;
  align-items: center;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 60px;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
}

.top-nav-item {
  text-align: center;
}

.nav-link {
  padding: 10px;
  color: #333;
}

.nav-link.active {
  font-weight: 500;
  color: #4294FF;
}

/* 页面计算出顶部导航 & 底部导航 */
.page-run,
.page-ride,
.page-course {
  padding-top: 60px;
  padding-bottom: 76px;
}